import request from '@/utils/request'
// 查询列表
export function getDataList(query) {
    return request({
      url: '/car/carInspection/list',
      method: 'get',
      params: query
    })
}

// 查询详情
export function getDetails(id) {
  return request({
    url: '/car/carInspection/'+id,
    method: 'get',
   
  })
}

// 查询历史
export function recordList(query) {
  return request({
    url: '/car/carInspection/recordList',
    method: 'get',
    params: query
   
  })
}

// 顶部统计
export function tabsCount(query) {
  return request({
    url: '/car/carInspection/tabsCount',
    method: 'get',
    params: query
   
  })
}

// 删除

export function delInspection(id) {
  return request({
    url: '/car/carInspection/' + id,
    method: 'delete',
  })
}

